package com.example.carrierapp.util;

import java.util.List;

public class ConnectionUtil {
    /**
     * 判断集合是否为空
     */
    public static boolean isNull(List list)
    {
        if(list==null)
            return true;
        if(list.size()==0)
        {
            return true;
        }
        return false;
    }
}
